package com.zkthink.ceres.product.service;

import com.zkthink.base.service.SuperService;
import com.zkthink.ceres.product.entity.ProductSku;

/**
 * <p>
 * 业务接口
 * 商品的sku
 * </p>
 *
 * @author JustArgo
 * @date 2020-05-07
 */
public interface ProductSkuService extends SuperService<ProductSku> {
    /** 更新sku的库存
     * @param skuId sku对应的主键id
     * @param addStock 要加的库存，如果为负数则减库存
     * @author JustArgo 2020/5/12 9:07
     * @return
     */
    int updateSkuStock(Long skuId, Integer addStock);

}
